﻿ 
/* Auto generated: 2009/9/6 15:15:23 */
using System;
using System.Data.Linq;
using System.Data.Linq.Mapping;	

namespace CoolCode.Entities
{        
	[Table( Name = "dbo.Production")]  
    public partial class Production  : EntityBase
    {     
         private int _iD;                      
		  
         [Column(DbType = "Int NOT NULL IDENTITY ", IsPrimaryKey = true , IsDbGenerated = true)]   
         public int ID
         {
              get { return _iD; }
              set { _iD = value; }
         }            
             
         private string _spec;                      
		  
         [Column(CanBeNull = false)]    
         public string Spec
         {
              get { return _spec; }
              set { _spec = value; }
         }            
             
         private string _desc;                      
		  
         [Column()]     
         public string Desc
         {
              get { return _desc; }
              set { _desc = value; }
         }            
             
         private string _status;                      
		  
         [Column(CanBeNull = false)]    
         public string Status
         {
              get { return _status; }
              set { _status = value; }
         }            
             
         private string _createUser;                      
		  
         [Column(CanBeNull = false)]    
         public string CreateUser
         {
              get { return _createUser; }
              set { _createUser = value; }
         }            
             
         private DateTime _createDate;                      
		  
         [Column(CanBeNull = false)]    
         public DateTime CreateDate
         {
              get { return _createDate; }
              set { _createDate = value; }
         }            
             
         private string _updateuser;                      
		  
         [Column(CanBeNull = false)]    
         public string UpdateUser
         {
              get { return _updateuser; }
              set { _updateuser = value; }
         }            
             
         private DateTime _updateDate;                      
		  
         [Column(CanBeNull = false)]    
         public DateTime UpdateDate
         {
              get { return _updateDate; }
              set { _updateDate = value; }
         }            
              
    }            
}
